package com.oilsection.demo.service.impl;

import com.oilsection.demo.controller.req.JzUpdateLocationReq;
import com.oilsection.demo.mapper.JzMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class JzService {

    private final JzMapper jzMapper;

    public void updateLocation(JzUpdateLocationReq req) {
        jzMapper.updateLocation(req.getJzId(), req.getJkXpoint(), req.getJkYpoint());
    }
}
